using Universal.Application.Contracts.Dto.Auth;

namespace Universal.Application.Repositories;

public interface IAuthService
{
    // 登录
    Task<dynamic> LoginAsync(LoginDto loginDto);

    // 注册
    Task<dynamic> RegisterAsync(RegisterDto registerDto);

    // 刷新令牌
    Task<dynamic> RefreshTokenAsync(RefreshTokenRequestDto refreshTokenRequestDto);

}